﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IDepartmentRepository.cs" company="">
//   Copyright (c) 2010/2011 All Right Reserved
// </copyright>
// <summary>
//   Contains IDepartmentRepository class declaration.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace iBuproModel.Repositories.Interfaces
{
    using System.Collections.Generic;

    /// <summary>
    /// Interface for department repository.
    /// </summary>
    public interface IDepartmentRepository : IGenericRepository<Department>
    {
        IEnumerable<Department> GetDepartmentsForUser(User user);
        
        void UpdatePrincipalList(Department department, IEnumerable<int> ids);
        
        void UpdateAdministratorList(Department department, IEnumerable<int> ids);
    }
}
